package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineGetBalance
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/8/5 11:40
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "获取账户余额和今日消耗的返回参数")
public class OceanengineGetBalance {
    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "获取账户余额和今日消耗的返回参数实体")
    public static class DataBean {

        @ApiModelProperty(value = "广告主ID")
        private Long advertiser_id;
        @ApiModelProperty(value = "账户名")
        private String name;
        @ApiModelProperty(value = "联系邮箱")
        private String email;
        @ApiModelProperty(value = "账户总余额(单位元)")
        private Double balance;
        @ApiModelProperty(value = "账户可用总余额(单位元)")
        private Double valid_balance;
        @ApiModelProperty(value = "现金余额(单位元)")
        private Double cash;
        @ApiModelProperty(value = "现金可用余额(单位元)")
        private Double valid_cash;
        @ApiModelProperty(value = "赠款余额(单位元)")
        private Double grant;
        @ApiModelProperty(value = "赠款可用余额(单位元)")
        private Double valid_grant;
        @ApiModelProperty(value = "返货余额(单位元)")
        private Double return_goods_abs;
        @ApiModelProperty(value = "返货可用余额(单位元)")
        private Double valid_return_goods_abs;
        @ApiModelProperty(value = "返货支出(单位元)")
        private Double return_goods_cost;
        //额外自己加的参数，
        @ApiModelProperty(value = "今日消耗(单位元)")
        private Double today_cosr;

    }
}
